package org.hjj.design.u95.idempotence;

/**
 * the interface of storaging idempotence Id
 *
 * @author:何嘉俊
 * @date:2021/6/2
 */
public interface IdempotenceStorage {
    boolean saveIfAbsent(String idempotenceId);

    void delete(String idempotenceId);
}
